package bgai.players;

import bgai.ai.minimax.Board;
import bgai.gamelogic.Backgammon;
import bgai.gamelogic.CheckerColor;
import bgai.gamelogic.EvaluationFunctions;
import bgai.players.ComputerPlayer.SearchType;

public class Random  extends ComputerPlayer {
	
	public Random(CheckerColor color, int maxDepth) {
		super(color, maxDepth);
	}
	public Random(CheckerColor color, int maxDepth, SearchType type) {
		super(color, maxDepth, type);
	}
	
	@Override
	public double evaluate(Board board, boolean thisIsMaxNode) {
		return EvaluationFunctions.random((Backgammon) board, board.getBoardType(), thisIsMaxNode);
	}

}